package com.bnz.springboot.properties;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

@Data
@ConfigurationProperties(prefix = "jdbc")
@Component
public class JdbcProperties {
    private String driverClassesName;
    private String url;
    private String username;
    private String password;

}
